/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecHardware;
import br.gov.cemaden.library.model.smp.Memoria;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface MemoriaInterface {
    List<Memoria>findAll();
    Memoria findById(Long id);
    List<Memoria> findByMemoryLivreTotalReal(Double memoryLivreTotalReal);
    List<Memoria> findByMemoryUsadaTotalReal(Double memoryUsadaTotalReal);
    List<Memoria> findByMemoryTotalUtilizado(Double memoryTotalUtilizado);
    List<Memoria> findByMemoryTotalLivre(Double memoryTotalLivre);
    List<Memoria> findByMemoryRam(Double memoryRam);
    List<Memoria> findByMemoryTotal(Double memoryTotal);
    List<Memoria> findByExecHardware(ExecHardware execHardware);
    Memoria insert(Memoria memoria);
    Memoria update(Memoria memoria);
    void delete(Memoria memoria);
}
